<!-- _ch_ headers are for challenge statuses -->
<!-- this is for viewing details of a sent challenge (also for accepting challenge) -->
<%=fb_name u%><br/>
 sent <%=fb_name ch.goter%> a<br/>
<%=ch.amount%> WinPoints challenge - <br/>
<%match = Match.find(sid)%>
<%=link_to "see details","#",:onclick=>"showDialog('#{@call_back_url + "/friends_bet/gen_dialog?sid=" + match.id.to_s + "&uid=" + ch.sender.id.to_s + "&chid=" + ch.id.to_s}','Challenge Details','Accept','Cancel');return false" if Time.now < match.begin_at%>
